package com.modulemanager.handler

import com.libservice.RouteCompletion
import com.modulemanager.module.ModuleInterface

interface HandlerInterface {
    interface Builder {
        val type: String

        fun build(module: ModuleInterface): HandlerInterface
    }

    val type: String

    val module: ModuleInterface?

    fun handle(params: Map<String, Any>?, completion: RouteCompletion?)
}